package com.atguigu.lease.app.mapper;

import com.atguigu.lease.model.bean.RoomInfo;
import com.atguigu.lease.model.dto.app.RoomInfoQueryDto;
import com.atguigu.lease.model.vo.app.RoomDetailVo;
import com.atguigu.lease.model.vo.app.RoomInfoItemVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
* @author 1
* @description 针对表【room_info(房间信息表)】的数据库操作Mapper
* @createDate 2025-09-28 11:32:26
* @Entity com.atguigu.lease.model.bean.RoomInfo
*/
public interface RoomInfoMapper extends BaseMapper<RoomInfo> {

    Page<RoomInfoItemVo> selectRoomInfoItemVoPage(Page<RoomInfoItemVo> roomInfoItemVoPage,
                                                  @Param("queryDto") RoomInfoQueryDto roomInfoQueryDto);

    RoomDetailVo selectRoomDetailVoById(Long id);
}




